package com.xiaoq.distribution.entity;

import com.xiaoq.MongoEntity;
import org.mongodb.morphia.annotations.Entity;

import java.io.Serializable;

/**
 * Created by chenjh on 2018/7/11.
 */
@Entity(value="settle_history",noClassnameStored=true)
public class SettleHistoryEntity extends MongoEntity implements Serializable {
    private static final long serialVersionUID = -545031528984518795L;

    /** 分销商id */
    private String distributorId;

    /** 分销商名称 */
    private String distributorName;

    /** 景区id */
    private String shopId;

    /** 结算周期 00 固定结算周期 10非固定结算 */
    private String settleCycle;

    /** 结算时间 */
    private Integer settleTime;

    /** 结算订单开始时间 */
    private Long settleOrderBeginTime;

    /** 结算订单结束时间 */
    private Long settleOrderEndTime;

    /** 退票金额明细 */
    private Double refundAmount;

    /** 成交明细 */
    private Double dealAmount;

    /** 核销金额 */
    private Double verificationAmount;

    /** 当前结算金额 */
    private Double currentSettleAmount;

    /** 结算对接人 */
    private String settleContact;

    /**
     * 是否为最新的一次结算（0，不是， 1是）
     *  ConstantUtil
     */
    private Integer theLatestSettle;

    /**
     * 订单结算时间
     */
    private Long orderSettleTime;

    public String getDistributorId() {
        return distributorId;
    }

    public void setDistributorId(String distributorId) {
        this.distributorId = distributorId;
    }

    public String getDistributorName() {
        return distributorName;
    }

    public void setDistributorName(String distributorName) {
        this.distributorName = distributorName;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getSettleCycle() {
        return settleCycle;
    }

    public void setSettleCycle(String settleCycle) {
        this.settleCycle = settleCycle;
    }

    public Long getSettleOrderBeginTime() {
        return settleOrderBeginTime;
    }

    public void setSettleOrderBeginTime(Long settleOrderBeginTime) {
        this.settleOrderBeginTime = settleOrderBeginTime;
    }

    public Long getSettleOrderEndTime() {
        return settleOrderEndTime;
    }

    public void setSettleOrderEndTime(Long settleOrderEndTime) {
        this.settleOrderEndTime = settleOrderEndTime;
    }

    public Double getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(Double refundAmount) {
        this.refundAmount = refundAmount;
    }

    public Double getDealAmount() {
        return dealAmount;
    }

    public void setDealAmount(Double dealAmount) {
        this.dealAmount = dealAmount;
    }

    public Double getVerificationAmount() {
        return verificationAmount;
    }

    public void setVerificationAmount(Double verificationAmount) {
        this.verificationAmount = verificationAmount;
    }

    public Double getCurrentSettleAmount() {
        return currentSettleAmount;
    }

    public void setCurrentSettleAmount(Double currentSettleAmount) {
        this.currentSettleAmount = currentSettleAmount;
    }

    public String getSettleContact() {
        return settleContact;
    }

    public void setSettleContact(String settleContact) {
        this.settleContact = settleContact;
    }

    public Integer getTheLatestSettle() {
        return theLatestSettle;
    }

    public void setTheLatestSettle(Integer theLatestSettle) {
        this.theLatestSettle = theLatestSettle;
    }

    public Integer getSettleTime() {
        return settleTime;
    }

    public void setSettleTime(Integer settleTime) {
        this.settleTime = settleTime;
    }

    public Long getOrderSettleTime() {
        return orderSettleTime;
    }

    public void setOrderSettleTime(Long orderSettleTime) {
        this.orderSettleTime = orderSettleTime;
    }
}
